<#include "/layout/layout.ftl">
<#import "/layout/macro.ftl" as macro>
<#assign css>
<style>
</style>
</#assign>
<#assign js>
<script>

	//tableId,queryId,conditionContainer
	//var userTable;
	var winId="userWin";
	$(function() {
		//init table and fill data
		//userTable = new CommonTable("user_table", "user_list", "searchDiv");

		//button event
		//form_init();
	});
</script>
</#assign>
<@layout title="师傅余额列表" active="masteraccount">
<!-- Content Header (Page header) -->

<!-- Main content -->
<section class="content">
	<!-- Default box -->
	<div class="box box-primary">
		<div class="box-body">
			<table class="table table-striped">
				<tr>
					<th>明细类型</th>
					<th>时间</th>
					<th>金额</th>
					<th>余额</th>
					<th>交易描述</th>
				</tr>
                <#list pageInfo.list as item>
                <tr>
					<td >${convert('DETAIL_TYPE',item.detailType)!}</td>
<#--					<td >${convert('ACCOUNTG_TYPE',item.account_type)!}</td>-->
					<td >${item.createDt?string('yyyy-MM-dd HH:mm:ss')!}</td>
					<td >${item.amount!}</td>
					<td >${item.tranAmount?string("0.##")!}</td>
					<td >${item.tranDesc!}</td>
				</tr>
                </#list>
			</table>
		</div>
		<!-- /.box-body -->
		<div class="box-footer clearfix">
            <@macro.page pageInfo=pageInfo url="/masteraccount/detail/${userId}?" />
		</div>
	</div>
	<div class="box-footer">
		<button type="button" class="btn btn-default btn-back">返回</button>
	</div>
	<!-- /.box -->

</section>
<!-- /.content -->
</@layout>
